package com.nexen.merchant.statistics.service.impl;

import com.nexen.merchant.statistics.domain.StatisticsLable;
import com.nexen.merchant.statistics.domain.StatisticsRequest;
import com.nexen.merchant.statistics.mapper.NexenStatisticsMapper;
import com.nexen.merchant.statistics.service.INexenStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>Title: NexenStatisticsServiceImpl</p>
 * <p>Description: </p>
 *
 * @author cong.zhang
 * @version 1.0.0
 * @date 2024/8/9
 * @time 23:09
 */
@Service
public class NexenStatisticsServiceImpl implements INexenStatisticsService {

    @Autowired
    private NexenStatisticsMapper nexenStatisticsMapper;

    @Override
    public List<StatisticsLable> memberWeek() {
        return nexenStatisticsMapper.memberWeek();
    }

    @Override
    public List<StatisticsLable> memberWeek2(StatisticsRequest statisticsRequest) {
       return nexenStatisticsMapper.memberWeek2(statisticsRequest);
    }

    @Override
    public List<StatisticsLable> warrantyCardWeek() {
        return nexenStatisticsMapper.warrantyCardWeek();
    }

    @Override
    public List<StatisticsLable> warrantyCardWeek2(StatisticsRequest statisticsRequest) {
        return nexenStatisticsMapper.warrantyCardWeek2(statisticsRequest);
    }

    @Override
    public List<StatisticsLable> serviceRequestWeek() {
        return nexenStatisticsMapper.serviceRequestWeek();
    }

    @Override
    public List<StatisticsLable> serviceRequestWeek2(StatisticsRequest statisticsRequest) {
        return nexenStatisticsMapper.serviceRequestWeek2(statisticsRequest);
    }

    @Override
    public List<StatisticsLable> warrantyCardStatus(StatisticsRequest statisticsRequest) {
        return nexenStatisticsMapper.warrantyCardStatus(statisticsRequest);
    }

    @Override
    public List<StatisticsLable> serviceRequestStatus(StatisticsRequest statisticsRequest) {
        return nexenStatisticsMapper.serviceRequestStatus(statisticsRequest);
    }

    @Override
    public Long memberCount() {
        return nexenStatisticsMapper.memberCount();
    }

    @Override
    public List<StatisticsLable> warrantycardProvinceCount(StatisticsRequest statisticsRequest) {
        return nexenStatisticsMapper.warrantycardProvinceCount(statisticsRequest);
    }

}
